package com.dingreading.cloud.mall.mapper;

import com.dingreading.cloud.mall.entity.GoodsType;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface GoodsTypeMapper extends BaseMapper<GoodsType> {

    List<GoodsType> maxUnitPrice(
            @Param("goodsIdList") List<Long> goodsIdList, @Param("operationTypeSql") String operationTypeSql,
            @Param("cooperationTypeSql") String cooperationTypeSql, @Param("subjectTypeSql") String subjectTypeSql,
            @Param("easyProductJoinType") boolean easyProductJoinType
    );
}
